package cn.spring.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.spring.bean.Employee;

public interface EmplyoeeService {
	public List<Employee> findAll();
	public Employee login(Employee emp);
	public Employee save(Employee emp);
	public int phonePan(String phone);
	public int updateIstong(Integer id,Integer state);
	public int updateRole(Integer id,Integer role);
	
	public List<Employee> findAllById(Integer id);
	
	public void xiugaidianming(String name,@Param("id")Integer id);
	
	public int updatePwd(String pwd,Integer id);
}
